package com.example.tellwin.mine.contract;

import com.example.tellwin.base.BaseContract;
import com.example.tellwin.mine.bean.UserBean;

/**
 * @author : LinZePeng
 * @date : 2020/11/24
 * @Describe ：
 **/
public interface LoginRegisterContract {

    interface View extends BaseContract.BaseView {
        void loginResult(UserBean userBean);

        void verificationCodeResult();

        void registerResult(UserBean userBean);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void login(String phone, String verificationCode);

        void getVerificationCode(String phone ,int type);

        void register(String phone, String verificationCode , String invitationCode);
    }
}
